﻿<Window x:Class="DBDocumenter.About"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:rc="clr-namespace:DBDocumenter.Resources"
    Width="1000"
    Height="600"
    FontFamily="Segoe UI"
    WindowStartupLocation="CenterScreen"
    ResizeMode="NoResize" WindowStyle="None" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    Title="About" Loaded="Window_Loaded" Background="{DynamicResource DBDocumenter_Background}" Icon="/Resources/Images/Application.ico">
    <Window.Resources>
        <!-- Show Chat Window Animation -->
        <Storyboard x:Key="showWindow">
            
            <DoubleAnimation 
                                Storyboard.TargetName="grdAbout"
                                Storyboard.TargetProperty="(Grid.Opacity)" 
                                From="0" To="1" Duration="0:0:1"  />
        </Storyboard>

        <!-- Close Chat Window Animation -->
        <Storyboard x:Key="hideWindow" Completed="HideWindowStoryboard_Completed" >
            <DoubleAnimation 
                                Storyboard.TargetName="grdAbout"
                                Storyboard.TargetProperty="(Grid.Opacity)" 
                                From="1" To="0" Duration="0:0:1"  />
        </Storyboard>
    </Window.Resources>
    <Grid x:Name="grdAbout" >
        
        <Border Background="Transparent" Visibility="{Binding Visibility}">
            <Border BorderBrush="Black" BorderThickness="1"  
					CornerRadius="10,0,10,0" VerticalAlignment="Center"
					HorizontalAlignment="Center">
                <Border.Background>
                    <LinearGradientBrush GradientStops="{DynamicResource AboutPopup_GradientStopCollection}"  EndPoint="0.5,1" StartPoint="0.5,0" SpreadMethod="Pad">
                        
                    </LinearGradientBrush>
                </Border.Background>
                <Border.BitmapEffect>
                    <DropShadowBitmapEffect Color="Black" Opacity="0.5" Direction="270" ShadowDepth="0.7" />
                </Border.BitmapEffect>
                <Grid Margin="10" >
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <!--<TextBlock x:Name="MessageTextBlock" Text="{Binding Message}" TextWrapping="Wrap" Margin="5" />-->
                    <StackPanel Orientation="Vertical" >
                        
                        <TextBox Background="Transparent" Style="{DynamicResource Aboutbox_Style}" x:Name="txtMessage" TextWrapping="Wrap"  FontSize="15" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"  Height="400" Width="600" Margin="10,10,10,10" />
                        <Button HorizontalAlignment="Right" Name="btnOk" Click="btnOK_Click" Height="35" Foreground="#FFFFFFFF" Template="{DynamicResource ButtonControlTemplate}" d:LayoutOverrides="Height" Margin="4,4,4,4">
                            <StackPanel Margin="0,0,0,0" Orientation="Horizontal" Opacity="0.895" >
                                <Image Margin="4,0,4,0" HorizontalAlignment="Left" Height="25" Width="25" Source="/Resources/Images/Exit.png"  />
                                <TextBlock Width="100" Text="{x:Static rc:PLResources.Ok}" Margin="4,0,4,0" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Stretch" Style="{DynamicResource ButtonText_Style}" TextWrapping="WrapWithOverflow" />
                            </StackPanel>
                        </Button>
                        <!--<ProgressBar IsIndeterminate="True" Background="#FF44080B" Foreground="WhiteSmoke" Height="30" />-->
                    </StackPanel>
                </Grid>
            </Border>
        </Border>
    </Grid>
</Window>
